﻿@model NCP.Recruiting.WebApp.Models.Contracts.ContractListModel
@using NCP.Recruiting.WebApp.Extensions
@{
    ViewBag.Title = "服务合同";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="wrap">
    <div class="wrapContents">
        <h1>
            服务合同</h1>
        <div class="search">
            <div class="search_left">
            </div>
            <div class="search_right">
            </div>
            <div class="cr">
            </div>
        </div>
        <table cellpadding="0" cellspacing="0" width="100%">
            <thead>
                <tr>
                    <th>
                        合同编号
                    </th>
                    <th>
                        可发布职位数
                    </th>
                    <th>
                        人才查询点
                    </th>
                    <th>
                        开通日期
                    </th>
                    <th>
                        服务截止日
                    </th>
                    <th>
                        状态
                    </th>
                </tr>
            </thead>
            <tbody>
                @foreach (var contract in Model.Contracts) {
                    <tr>
                        <td align="left">
                            <b style="color: #12799a">@contract.ContractNumber</b>
                        </td>
                        <td align="left">@String.Format("{0:N0}", contract.Positions)
                        </td>
                        <td align="left">@String.Format("{0:N0}", contract.Resumes)
                        </td>
                        <td align="left">@String.Format("{0:yyyy/MM/dd}", contract.StartDate)
                        </td>
                        <td align="left">@String.Format("{0:yyyy/MM/dd}", contract.EndDate)
                        </td>
                        <td align="left">@contract.Status
                        </td>
                    </tr>
       
                }
            </tbody>
        </table>
        <div class="pagelists">
            @Html.Pager(Model.PagingFilteringContext).QueryParam("pagenumber")
        </div>
    </div>
</div>
